gpsbabel.git
11 years agoAdapt to Edge 510's mutation of Garmin Fit to deal with sample provided by
robertlipe [Sun, 22 Mar 2015 01:34:38 +0000 (01:34 +0000)]
Adapt to Edge 510's mutation of Garmin Fit to deal with sample provided by
James Morris.

11 years agoGleb Smirinoff contributes vertical speed calculation for use with subrip.
robertlipe [Sun, 22 Mar 2015 00:31:17 +0000 (00:31 +0000)]
Gleb Smirinoff contributes vertical speed calculation for use with subrip.
(There are probably edge cases about tracks with and without valid alt....)

11 years agoDon't document -c and -l as they've been dead for a long time.
robertlipe [Fri, 20 Mar 2015 20:08:59 +0000 (20:08 +0000)]
Don't document -c and -l as they've been dead for a long time.

11 years agoInclude stdlib.h in gpslibusb.cc
robertlipe [Mon, 16 Mar 2015 17:33:19 +0000 (17:33 +0000)]
Include stdlib.h in gpslibusb.cc

11 years agoRemove dead #defines for XML_{SHORT,LONG}_TIME.
robertlipe [Sun, 1 Mar 2015 02:06:32 +0000 (02:06 +0000)]
Remove dead #defines for XML_{SHORT,LONG}_TIME.

11 years agoMove xol to QXMLStreamWriter, event though I'm not at all sure anyone ever
robertlipe [Mon, 16 Feb 2015 21:07:56 +0000 (21:07 +0000)]
Move xol to QXMLStreamWriter, event though I'm not at all sure anyone ever
actually uses this format...

11 years agoDocument DPL900 on skytraq page.
robertlipe [Fri, 13 Feb 2015 16:45:08 +0000 (16:45 +0000)]
Document DPL900 on skytraq page.

11 years agoTry to improve handling of 230400kbit/sec in Windows serial system.
robertlipe [Fri, 13 Feb 2015 16:37:22 +0000 (16:37 +0000)]
Try to improve handling of 230400kbit/sec in Windows serial system.

11 years agoImprove doc for Garmin-specific options in GPX writer.
robertlipe [Sun, 1 Feb 2015 05:48:11 +0000 (05:48 +0000)]
Improve doc for Garmin-specific options in GPX writer.

11 years agoFix leak in text.cc that I introduced last night.
robertlipe [Tue, 27 Jan 2015 18:35:32 +0000 (18:35 +0000)]
Fix leak in text.cc that I introduced last night.

11 years agoFix leak I just introduced. (Thanx, Jenkins!)
robertlipe [Tue, 27 Jan 2015 05:00:34 +0000 (05:00 +0000)]
Fix leak I just introduced.  (Thanx, Jenkins!)

11 years agoMinor doc improvements on our hodgepodge of C89 and Qt.
robertlipe [Tue, 27 Jan 2015 04:33:45 +0000 (04:33 +0000)]
Minor doc improvements on our hodgepodge of C89 and Qt.
Whitespace changes, mostly trailing whitespace.

11 years agoMove rot13() to QString.
robertlipe [Tue, 27 Jan 2015 03:40:52 +0000 (03:40 +0000)]
Move rot13() to QString.

11 years agoMove global_opts.charset to QString.
robertlipe [Tue, 27 Jan 2015 02:31:38 +0000 (02:31 +0000)]
Move global_opts.charset to QString.
Tested:
clang -fsanitize=address / testo  on Mac.

11 years agoDon't include strptime when we aren't using it.
robertlipe [Sun, 25 Jan 2015 23:53:23 +0000 (23:53 +0000)]
Don't include strptime when we aren't using it.

11 years agoEliminate use of strptime in cst.
robertlipe [Tue, 20 Jan 2015 02:39:51 +0000 (02:39 +0000)]
Eliminate use of strptime in cst.

11 years agoMove pdbfile to deprecated. Drop uuid.h.
robertlipe [Sun, 18 Jan 2015 21:43:14 +0000 (21:43 +0000)]
Move pdbfile to deprecated.  Drop uuid.h.

11 years agoreset LC_NUMERIC after Qt steps on it.
tsteven4 [Tue, 13 Jan 2015 13:27:38 +0000 (13:27 +0000)]
reset LC_NUMERIC after Qt steps on it.
this had resulted in unicsv output using commas as the decimal separator in some locales.

11 years agoDon't force user to specificy -t in sbp.
robertlipe [Mon, 5 Jan 2015 23:10:00 +0000 (23:10 +0000)]
Don't force user to specificy -t in sbp.

11 years agoDelete mkdmg which hasn't been used in years.
robertlipe [Sat, 3 Jan 2015 02:40:47 +0000 (02:40 +0000)]
Delete mkdmg which hasn't been used in years.
Regenerate translations.

11 years agoMinor changes for Windows build.
robertlipe [Sat, 3 Jan 2015 02:38:24 +0000 (02:38 +0000)]
Minor changes for Windows build.
Try to get setup.iss newlines handled sensibly.

11 years agoDelete unused fn in mainwindow.cc. Bump version number to prep for release.
robertlipe [Fri, 2 Jan 2015 23:02:55 +0000 (23:02 +0000)]
Delete unused fn in mainwindow.cc.  Bump version number to prep for release.

11 years agoHandle Yosemite version reporting on a Qt that doesn't support Yosemite
robertlipe [Fri, 2 Jan 2015 22:56:20 +0000 (22:56 +0000)]
Handle Yosemite version reporting on a Qt that doesn't support Yosemite
 and speculatively handle whatever's next.

11 years agoRalf Horstmann makes KML reader more robust in light of seriously malformed input.
robertlipe [Wed, 31 Dec 2014 00:21:45 +0000 (00:21 +0000)]
Ralf Horstmann makes KML reader more robust in light of seriously malformed input.

11 years agoharden nmea reader to unexpectedly long data fields.
tsteven4 [Fri, 26 Dec 2014 23:16:53 +0000 (23:16 +0000)]
harden nmea reader to unexpectedly long data fields.

11 years agoDon't let Google format reader crash on malformed route input.
robertlipe [Mon, 22 Dec 2014 19:32:31 +0000 (19:32 +0000)]
Don't let Google format reader crash on malformed route input.

11 years agoOpenBSD's head doesn't support -c. Avoid in testo.
robertlipe [Mon, 22 Dec 2014 19:30:03 +0000 (19:30 +0000)]
OpenBSD's head doesn't support -c.  Avoid in testo.

11 years agoRalf Horstmann fixes out of bound read in Google polyline reader.
robertlipe [Mon, 22 Dec 2014 19:27:44 +0000 (19:27 +0000)]
Ralf Horstmann fixes out of bound read in Google polyline reader.

11 years agofix handling of extra columns in unicsv reader.
tsteven4 [Sun, 21 Dec 2014 22:36:51 +0000 (22:36 +0000)]
fix handling of extra columns in unicsv reader.

11 years agoOoopsy. Didn't mean to delete gbser_posix.
robertlipe [Wed, 17 Dec 2014 01:10:17 +0000 (01:10 +0000)]
Ooopsy.  Didn't mean to delete gbser_posix.

11 years agoRegenerate Makefile dependencies.
robertlipe [Wed, 17 Dec 2014 00:47:31 +0000 (00:47 +0000)]
Regenerate Makefile dependencies.

11 years agoDon't hang on malformed UTF-16 input.
robertlipe [Tue, 16 Dec 2014 15:49:54 +0000 (15:49 +0000)]
Don't hang on malformed UTF-16 input.

11 years agoRalf Horstmann makes mynav more robust to afl fuzzer.
robertlipe [Mon, 15 Dec 2014 02:13:56 +0000 (02:13 +0000)]
Ralf Horstmann makes mynav more robust to afl fuzzer.

11 years agoEw. Internally force-match QStrings and C strings in GPX write version
robertlipe [Mon, 15 Dec 2014 00:00:43 +0000 (00:00 +0000)]
Ew.  Internally force-match QStrings and C strings in GPX write version
number to prevent leak.

11 years agoBe more precise with buffer size in gbfread of a QString.
robertlipe [Sun, 14 Dec 2014 21:29:22 +0000 (21:29 +0000)]
Be more precise with buffer size in gbfread of a QString.
Misc hyperactive warning cleanups.

11 years agoFix brain-o from last gpx change.
robertlipe [Sun, 14 Dec 2014 01:11:37 +0000 (01:11 +0000)]
Fix brain-o from last gpx change.

11 years agoMake gpx_version a QString in gpx writer.
robertlipe [Sun, 14 Dec 2014 00:25:21 +0000 (00:25 +0000)]
Make gpx_version a QString in gpx writer.

11 years agoTry to use xasprintf less often when we're putting it into a QString anyway.
robertlipe [Sun, 14 Dec 2014 00:13:39 +0000 (00:13 +0000)]
Try to use xasprintf less often when we're putting it into a QString anyway.

11 years agoMove cet/cet_util out of defs.h and into files where it's actually used.
robertlipe [Sat, 13 Dec 2014 21:39:15 +0000 (21:39 +0000)]
Move cet/cet_util out of defs.h and into files where it's actually used.
(Not all of which I'm convinced it's actually _needed_...)

11 years agoContinue repair of #includes. We use a lot more std c than I thought/hoped. :-(
robertlipe [Mon, 8 Dec 2014 18:35:31 +0000 (18:35 +0000)]
Continue repair of #includes. We use a lot more std c than I thought/hoped. :-(
Tested: Centos.

11 years agoMechanical attempts at fixing Linux build. Still broken, but I'm out of gas for...
robertlipe [Mon, 8 Dec 2014 07:08:18 +0000 (07:08 +0000)]
Mechanical attempts at fixing Linux build.  Still broken, but I'm out of gas for the day.

11 years agoMisc minor internal code cleanups.
robertlipe [Sun, 7 Dec 2014 23:46:57 +0000 (23:46 +0000)]
Misc minor internal code cleanups.
Reduce header chain includes.  ex. move things from defs.h (where they'd get
 compiled for every file) to places that actually needed them.
Try to bring some sanity to includes and order and remove a lot of our C-era
includes.
(I know this is going to come back to byte me...)

11 years agoRalf Horstmann contributes support for Mynav Map Manager and VDO GP7.
robertlipe [Mon, 1 Dec 2014 21:11:43 +0000 (21:11 +0000)]
Ralf Horstmann contributes support for Mynav Map Manager and VDO GP7.

11 years agoDon't explictly construct a QString from a QString in GPX reader.
robertlipe [Tue, 25 Nov 2014 05:00:36 +0000 (05:00 +0000)]
Don't explictly construct a QString from a QString in GPX reader.

11 years agoFix some whitespace in KML writer where we mocked the old one for fidelity.
robertlipe [Tue, 25 Nov 2014 04:57:31 +0000 (04:57 +0000)]
Fix some whitespace in KML writer where we mocked the old one for fidelity.
Fixed reference files where it mattered.

11 years agoWarning fixes for unused vars in psitrex.
robertlipe [Tue, 25 Nov 2014 04:33:16 +0000 (04:33 +0000)]
Warning fixes for unused vars in psitrex.

11 years agofix error in kml reader parsing linestrings that don't have altitudes.
tsteven4 [Wed, 19 Nov 2014 00:11:37 +0000 (00:11 +0000)]
fix error in kml reader parsing linestrings that don't have altitudes.

11 years agoBring Qstrings to gt_find_desc_from_icon_number,
tsteven4 [Sun, 19 Oct 2014 19:04:27 +0000 (19:04 +0000)]
Bring Qstrings to gt_find_desc_from_icon_number,
and a few other places.

11 years agosupport altitude in mainnav format.
tsteven4 [Fri, 17 Oct 2014 12:32:44 +0000 (12:32 +0000)]
support altitude in mainnav format.

11 years agoadd missing reference file from previous change.
tsteven4 [Tue, 14 Oct 2014 01:31:22 +0000 (01:31 +0000)]
add missing reference file from previous change.

11 years agomore qstringification of kml format.
tsteven4 [Mon, 13 Oct 2014 23:54:35 +0000 (23:54 +0000)]
more qstringification of kml format.

11 years agoclean up gpx reader fix element handling. Note that the fix element values are requi...
tsteven4 [Sun, 12 Oct 2014 17:33:23 +0000 (17:33 +0000)]
clean up gpx reader fix element handling.  Note that the fix element values are required to be in lower case by the schema.

11 years agoMinort QString-ificaion of google.cc
robertlipe [Sun, 12 Oct 2014 02:17:07 +0000 (02:17 +0000)]
Minort QString-ificaion of google.cc

11 years agoFinish the sub-second support for unicsv...
robertlipe [Sat, 11 Oct 2014 21:40:49 +0000 (21:40 +0000)]
Finish the sub-second support for unicsv...

11 years agotop: prefer std::vector to temp xmalloc.
robertlipe [Sat, 11 Oct 2014 19:33:32 +0000 (19:33 +0000)]
top: prefer std::vector to temp xmalloc.
cet: drop unused code.

11 years agoFix parse_coordinates in the same way.
robertlipe [Wed, 8 Oct 2014 15:57:44 +0000 (15:57 +0000)]
Fix parse_coordinates in the same way.

11 years agoFix failure to overload in parse_speed().
robertlipe [Wed, 8 Oct 2014 15:56:54 +0000 (15:56 +0000)]
Fix failure to overload in parse_speed().

11 years agoFix a minor leak in the KML geocache writer that I just introduced.
robertlipe [Mon, 6 Oct 2014 05:31:27 +0000 (05:31 +0000)]
Fix a minor leak in the KML geocache writer that I just introduced.

11 years agoMove more internals, particularly in unicsv, to QString.
robertlipe [Mon, 6 Oct 2014 02:45:16 +0000 (02:45 +0000)]
Move more internals, particularly in unicsv, to QString.

11 years agounicsv: Avoid a few time_t conversions that would lose sub-second.
robertlipe [Sun, 5 Oct 2014 23:16:08 +0000 (23:16 +0000)]
unicsv: Avoid a few time_t conversions that would lose sub-second.
Various: Less CSTR() abuse.
garmin_tables. Use QString as arg type.

11 years agoFixes for f90g from Jim Keeler. Should be good to go now!
robertlipe [Tue, 30 Sep 2014 19:46:10 +0000 (19:46 +0000)]
Fixes for f90g from Jim Keeler.  Should be good to go now!

11 years agoFix bad commit of f90g-sample.gpx.
robertlipe [Tue, 30 Sep 2014 17:50:13 +0000 (17:50 +0000)]
Fix bad commit of f90g-sample.gpx.

11 years agoAdd missing pieces of f90g, though they're commented out.
robertlipe [Tue, 30 Sep 2014 17:43:14 +0000 (17:43 +0000)]
Add missing pieces of f90g, though they're commented out.

11 years agoWhite B. Coot contributes f90g support.
robertlipe [Tue, 30 Sep 2014 17:38:36 +0000 (17:38 +0000)]
White B. Coot contributes f90g support.

11 years agoFix new memory leak in osm.
robertlipe [Tue, 30 Sep 2014 01:53:03 +0000 (01:53 +0000)]
Fix new memory leak in osm.

11 years agoMatt Hague adds support for OSM way center tags.
robertlipe [Mon, 29 Sep 2014 21:49:05 +0000 (21:49 +0000)]
Matt Hague adds support for OSM way center tags.

11 years agoLinux fix for earlier.
robertlipe [Mon, 29 Sep 2014 03:58:29 +0000 (03:58 +0000)]
Linux fix for earlier.

11 years agoDrop weird structures for epilogue/prologue and use a QStringList.
robertlipe [Mon, 29 Sep 2014 03:56:05 +0000 (03:56 +0000)]
Drop weird structures for epilogue/prologue and use a QStringList.

11 years agoLeak fix during tension of object being both a class and a global...
robertlipe [Mon, 29 Sep 2014 03:00:51 +0000 (03:00 +0000)]
Leak fix during tension of object being both a class and a global...

11 years agoMove xcsv badchars to QString.
robertlipe [Mon, 29 Sep 2014 02:53:05 +0000 (02:53 +0000)]
Move xcsv badchars to QString.

11 years agoCheckpoint bringing some 'class' to csv_util before moving badchars.
robertlipe [Mon, 29 Sep 2014 02:19:29 +0000 (02:19 +0000)]
Checkpoint bringing some 'class' to csv_util before moving badchars.
Still a terrible example of globals and pseudo ctor/dtors...

11 years agoFix mismatched new/free in magproto.
robertlipe [Mon, 29 Sep 2014 00:44:16 +0000 (00:44 +0000)]
Fix mismatched new/free in magproto.

11 years ago(incrementally) more C++ internals in magproto. Gets rid of a few explict
robertlipe [Sun, 28 Sep 2014 23:49:54 +0000 (23:49 +0000)]
(incrementally) more C++ internals in magproto.  Gets rid of a few explict
xstrdups.

11 years agoApply a (somewhat dubious) fix to Humminbird reader from Jim Burchfield
robertlipe [Sun, 28 Sep 2014 23:02:21 +0000 (23:02 +0000)]
Apply a (somewhat dubious) fix to Humminbird reader from Jim Burchfield
for tracks containing exactly 21836 points.

11 years agoDoc fix for motoactv.
robertlipe [Sun, 28 Sep 2014 22:41:39 +0000 (22:41 +0000)]
Doc fix for motoactv.

11 years agoDamien Pobel improves metadata handling in GPX 1.1 reader.
robertlipe [Sun, 28 Sep 2014 22:34:03 +0000 (22:34 +0000)]
Damien Pobel improves metadata handling in GPX 1.1 reader.

11 years agosupply a US-ASCII QTextCodec.
tsteven4 [Sat, 27 Sep 2014 15:31:49 +0000 (15:31 +0000)]
supply a US-ASCII QTextCodec.

11 years agoFix route simplifier to not remove one too many points in edge cases.
robertlipe [Sun, 21 Sep 2014 23:04:22 +0000 (23:04 +0000)]
Fix route simplifier to not remove one too many points in edge cases.
Fix from Steve.

11 years agopiggyback Qt codec on to cet_convert_init.
tsteven4 [Sun, 21 Sep 2014 23:01:51 +0000 (23:01 +0000)]
piggyback Qt codec on to cet_convert_init.
fix encoding in garmin gpi reader and writer using piggybacked global codec.
utilized piggybacked global codec in naviguide reader and writer.

11 years agoproperty fix for gpx test file.
tsteven4 [Sun, 21 Sep 2014 22:57:36 +0000 (22:57 +0000)]
property fix for gpx test file.

11 years agoAllow reads of waypoints in GUI from MTK logger.
robertlipe [Sun, 21 Sep 2014 22:47:09 +0000 (22:47 +0000)]
Allow reads of waypoints in GUI from MTK logger.

11 years agoSeveral minor doc fixes for UTM in style definitions.
robertlipe [Sun, 21 Sep 2014 22:40:45 +0000 (22:40 +0000)]
Several minor doc fixes for UTM in style definitions.

11 years agoa few more replacements of CSTR/CSTRc with qPrintable.
tsteven4 [Thu, 18 Sep 2014 18:26:40 +0000 (18:26 +0000)]
a few more replacements of CSTR/CSTRc with qPrintable.

11 years agomore use of qPrintable instead of CSTR or CSTRc with warning.
tsteven4 [Thu, 18 Sep 2014 18:07:21 +0000 (18:07 +0000)]
more use of qPrintable instead of CSTR or CSTRc with warning.

11 years agomore use of qPrintable instead of CSTR or CSTRc with fatal and printf.
tsteven4 [Thu, 18 Sep 2014 17:57:39 +0000 (17:57 +0000)]
more use of qPrintable instead of CSTR or CSTRc with fatal and printf.

11 years agoavoid use of not recommended QString::sprintf() in favor of QData::toString().
tsteven4 [Thu, 18 Sep 2014 15:24:15 +0000 (15:24 +0000)]
avoid use of not recommended QString::sprintf() in favor of QData::toString().

11 years agoAdd error checking for flagrantly malformed xcsv files.
robertlipe [Wed, 17 Sep 2014 05:15:44 +0000 (05:15 +0000)]
Add error checking for flagrantly malformed xcsv files.
Tested: ./testo on Mac.

11 years agouse qPrintable with printf instead of CSTR, CSTRc.
tsteven4 [Wed, 17 Sep 2014 01:12:12 +0000 (01:12 +0000)]
use qPrintable with printf instead of CSTR, CSTRc.

11 years agouse qPrintable with warning() and fatal() instead of what seems like an arbitrary...
tsteven4 [Wed, 17 Sep 2014 01:05:18 +0000 (01:05 +0000)]
use qPrintable with warning() and fatal() instead of what seems like an arbitrary combination of CSTR and CSTRc.

11 years agoget rid of the last usages of QByteArray::data where QByteArray::constData will work.
tsteven4 [Tue, 16 Sep 2014 22:39:01 +0000 (22:39 +0000)]
get rid of the last usages of QByteArray::data where QByteArray::constData will work.

11 years agoblanket replace of gbfprintf arguments using .toUtf8().data() to avoid potential...
tsteven4 [Tue, 16 Sep 2014 15:58:29 +0000 (15:58 +0000)]
blanket replace of gbfprintf arguments using .toUtf8().data() to avoid potential deep copies.

11 years agoblanket replace of xstrdup(QString.toUtf8().data()) to avoid potential deep copies.
tsteven4 [Tue, 16 Sep 2014 15:41:38 +0000 (15:41 +0000)]
blanket replace of xstrdup(QString.toUtf8().data()) to avoid potential deep copies.

11 years agoThis commit isn't becuase I don't know how to spell it, it's because
robertlipe [Tue, 16 Sep 2014 03:49:59 +0000 (03:49 +0000)]
This commit isn't becuase I don't know how to spell it, it's because
I apparently don't know how to type it...

11 years agouse utf8, our preferred encoding, in gbfputs.
tsteven4 [Tue, 16 Sep 2014 00:12:17 +0000 (00:12 +0000)]
use utf8, our preferred encoding, in gbfputs.

11 years agofor cross compiles use cross versions of lupdate, lrelease if found.
tsteven4 [Mon, 15 Sep 2014 15:04:58 +0000 (15:04 +0000)]
for cross compiles use cross versions of lupdate, lrelease if found.

11 years agofix encoding in naviguide writer.
tsteven4 [Sun, 31 Aug 2014 18:02:09 +0000 (18:02 +0000)]
fix encoding in naviguide writer.

11 years agoImprove read error messages in alan.
robertlipe [Wed, 6 Aug 2014 16:21:52 +0000 (16:21 +0000)]
Improve read error messages in alan.

11 years agodoc fix
robertlipe [Mon, 21 Jul 2014 00:58:25 +0000 (00:58 +0000)]
doc fix

11 years agoMake mtk_logger use the system tmp directory (/tmp or the one pointed by TMPDIR or...
robertlipe [Sun, 20 Jul 2014 22:23:47 +0000 (22:23 +0000)]
Make mtk_logger use the system tmp directory (/tmp or the one pointed by TMPDIR or $USERPROFILE%/AppData/Local/Temp or whatever) for the file it creates that
holds the device's memory.

11 years agoalso handle default namespace declarations for unknown elements in the gpx reader.
tsteven4 [Tue, 8 Jul 2014 13:13:39 +0000 (13:13 +0000)]
also handle default namespace declarations for unknown elements in the gpx reader.